package com.lefeng.cockpit.common.bean.dto.executor;

import com.lefeng.cockpit.common.pagination.PaginationGeneralDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class ExecutorDTO extends PaginationGeneralDTO {

    @ApiModelProperty("执行器Id")
    private Integer id;

    @ApiModelProperty("执行器AppName")
    private String appName;

    @ApiModelProperty("执行器名称")
    private String title;

    @ApiModelProperty("执行器地址类型：0=自动注册、1=手动录入")
    private int addressType;

    @ApiModelProperty("执行器地址列表，多地址逗号分隔(手动录入)")
    private String addressList;

    @ApiModelProperty("Executor状态")
    private int status;

    @ApiModelProperty("状态列表")
    private List<Integer> statuses;


}
